package com.javasm.mapper.B2cOrderMapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.javasm.domin.entity.orderEntity.B2cOrderGoods;
import com.javasm.domin.vo.orderVo.OrderGoodVo;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lys
 * @since 2021-11-20
 */
public interface OrderGoodsMapper extends BaseMapper<B2cOrderGoods> {

    List<B2cOrderGoods> orderGoodsTotal(@Param(Constants.WRAPPER) Wrapper<B2cOrderGoods> queryWrapper);

    List<B2cOrderGoods> findOrderGoodsByOrderId(@Param("orderId")Serializable orderId);

    List<B2cOrderGoods> findByOrderList(List<Serializable> orderId);
 }
//@Param("orderIdList")